package com.hongdee.scm.countforms.service;

import com.hongdee.scm.countforms.entity.*;
import com.hongdee.scm.repertory.entity.TScmReperory;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/7/25.
 */
public interface ITScmCountService {

    public Map countByDay(String uid,Map data,String start,String limit) throws Exception;

    public Map countByMonth (String uid,Map data,String start,String limit) throws Exception;

    public List<TScmCount> findDayList(String uid,String dateStart,String dateEnd) throws Exception;

    public HSSFWorkbook exportDay(List<TScmCount> list, String uid) throws Exception;

    public List<TScmMonthCount> findMonthList(String uid,String dateStart,String dateEnd) throws Exception;

    public HSSFWorkbook exportMonth(List<TScmMonthCount> list, String uid) throws Exception;

    public List<TScmMonthDetail> findMonthDetailList(String uid,String dateStart,String dateEnd) throws Exception;

    public HSSFWorkbook exportMonthDetail(List<TScmMonthDetail> list, String uid) throws Exception;

    public Map monthThrough(String uid,Map data,String start,String limit) throws Exception;

    public Map stockCountForms(String uid,String start,String limit,String month) throws Exception;

    public List<TScmStockForms> findStockFormsList(String month) throws Exception;

    public HSSFWorkbook exportStockForm(List<TScmStockForms> list) throws Exception;

    public List<TScmMonthCar> findMonthCarList(String uid,Map data) throws Exception;

    public XSSFWorkbook createExcel(List<TScmMonthCar> list, String uid) throws Exception;
}
